﻿namespace Yama.MVC.NHibernate.DataBinder
{
    /// <summary>
    /// Determins where to look for parameter
    /// </summary>
    public enum ParamSource
    {
        /// <summary>
        /// Will look for parameter in Form
        /// </summary>
        Form,
        /// <summary>
        /// Will look for parameter in Flash
        /// </summary>
        Flash,
        /// <summary>
        /// Will look for parameter in Querystring
        /// </summary>
        QueryString,
        /// <summary>
        /// Will look for parameter in Form, Flash, Querystring and route parameters
        /// </summary>
        Params,
        /// <summary>
        /// Will look for parameter in route parameters
        /// </summary>
        RouteParameters
    }
}
